<?php
/**
 * Albireo Kernel
 *
 * @copyright  Copyright (c) 2010 Albireo Solutions
 * @package    Webtop
 */

namespace WebtopModule\DesktopModule;

use Nette\Object;

/**
 * StartMenu entity
 *
 * @author Albireo Solutions
 */

class StartMenu extends Object {
    /** @var int */
    private $id = 0;
    /** @var StartMenu */
    private $parent = null;
    /** @var StartMenu */
    private $preceder = null;
    /** @var command */
    private $command = null;

    /**
     * id getter
     *
     * @return int id
     */
    public function getId() {
	return $this->id;
    }

    /**
     * id setter
     *
     * @param int id
     */
    public function setID($id) {
	$this->id = $id;
    }

    /**
     * preceder getter
     *
     * @return ?? preceder
     */
    public function getPreceder() {
	return $this->preceder;
    }

    /**
     * parent getter
     *
     * @return ?? parent
     */
    public function getParent() {
	return $this->parent;
    }

    /**
     * parent setter
     *
     * @param ?? parent
     */
    public function setParent($parent) {
	$this->parent = $parent;
    }

    /**
     * preceder setter
     *
     * @param ?? preceder
     */
    public function setPreceder($preceder) {
	$this->preceder = $preceder;
    }

    /**
     * command getter
     *
     * @return command command
     */
    public function getCommand() {
	return $this->command;
    }

    /**
     * command setter
     *
     * @param command
     */
    public function setCommand($command) {
	$this->command = $command;
    }
}
